package com.example.hfSystem.entity.pojo;


import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.Date;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 汉服信息表
 * </p>
 * @since 2024-04-09
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("hf_information")
@ApiModel(value = "HfInformation对象", description = "汉服信息表")
public class HfInformation implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("汉服编号")
    @TableField("hanfu_number")
    private String hanfuNumber;

    @ApiModelProperty("汉服类型")
    @TableField("hanfu_type")
    private String hanfuType;

    @ApiModelProperty("图片")
    @TableField("picture")
    private String picture;

    @ApiModelProperty("状态")
    @TableField("status")
    private String status;

    @ApiModelProperty("价格")
    @TableField("price")
    private Float price;

    @ApiModelProperty("租金")
    @TableField("rent")
    private Float rent;

    @ApiModelProperty("录入日期")
    @TableField("entry_date")
    private Date entryDate;

    @ApiModelProperty("汉服简介")
    @TableField("introduce")
    private String introduce;

    @ApiModelProperty("最近点击时间")
    @TableField("clicktime")
    private Date clicktime;

    @ApiModelProperty("点击次数")
    @TableField("clicknum")
    private Integer clicknum;

    @ApiModelProperty("创建时间")
    @TableField("create_time")
    private Date createTime;


    public static final String ID = "id";

    public static final String HANFU_NUMBER = "hanfu_number";

    public static final String HANFU_TYPE = "hanfu_type";

    public static final String PICTURE = "picture";

    public static final String STATUS = "status";

    public static final String PRICE = "price";

    public static final String RENT = "rent";

    public static final String ENTRY_DATE = "entry_date";

    public static final String INTRODUCE = "introduce";

    public static final String CLICKTIME = "clicktime";

    public static final String CLICKNUM = "clicknum";

    public static final String CREATE_TIME = "create_time";

}
